<?php
/**
 * 加载页面CSS样式，JS脚本，为方便统一调用，合并为一个文件
 * @author wb_wenjie.wuwj <wb_wenjie.wuwj@alibaba-inc.com>
 * @copyright 2013-1-30
 */
?>
<link href="<?php echo base_url('css/admin_global.css');?>" rel="stylesheet" type="text/css" />
<link href="<?php echo base_url('js/artdialog/skins/default.css');?>" rel="stylesheet" type="text/css" />
<script src="<?php echo base_url('js/jQuery.js');?>" type="text/javascript"></script>
<script src="<?php echo base_url('js/artdialog/jquery.artDialog.js');?>" type="text/javascript"></script>
<script src="<?php echo base_url('js/artdialog/plugins/iframeTools.js');?>" type="text/javascript"></script>
<script src="<?php echo base_url('js/jquery.myValidData.js');?>" type="text/javascript"></script>
<!--<script src="<?php echo base_url('js/xheditor/xheditor.js');?>" type="text/javascript"></script>-->
<script src="<?php echo base_url('js/kindeditor/kindeditor.js');?>" type="text/javascript"></script>
<!--<script src="<?php echo base_url('js/kindeditor/lang/zh_CN.js');?>" type="text/javascript"></script>-->
<script src="<?php echo base_url('js/My97DatePicker/WdatePicker.js');?>" type="text/javascript"></script>
<script src="<?php echo base_url('js/js.js');?>" type="text/javascript"></script>
<script type="text/javascript">
// 初始化kindeditor编辑器
var options = {
        //cssPath : '<?php echo base_url('js/kindeditor/themes/default/default.css');?>',
		uploadJson : '<?php echo base_url('upload/editor_upload_action');?>',
		filePostName : 'file_upload',
		formatUploadUrl : false,
		//allowFileManager : false,
        filterMode : true
};
var editor;
        KindEditor.ready(function(K) {        
			editor = K.create('textarea[name="content"]', options);
});
</script>
